import { useEventListener } from '@vueuse/core'
import {action} from "@/store";
const device = function(){
    const isMobile =  document.body.getBoundingClientRect().width - 1 < 992
    action.device(isMobile)
}
export default function (){
    device()
    useEventListener('resize',device)
}